package common;

public class RegisterUser extends User{
    private String nickName;
    private String passwordRepeat;

    public RegisterUser(String nickName, String passwordRepeat) {
        this.nickName = nickName;
        this.passwordRepeat = passwordRepeat;
    }

    public RegisterUser(String name, String password, String nickName, String passwordRepeat) {
        super(name, password);
        this.nickName = nickName;
        this.passwordRepeat = passwordRepeat;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPasswordRepeat() {
        return passwordRepeat;
    }

    public void setPasswordRepeat(String passwordRepeat) {
        this.passwordRepeat = passwordRepeat;
    }
}
